package net.itbaiyang.pattern.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;


@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class TokenResponse {
    private Integer code;
    private String msg;
    private Detail data;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Data
    public static class Detail {
        @JsonProperty("expire_time")
        private String expireTime;
        private String token;
    }
}
